package com.bootdo.cms.dao;

import com.bootdo.cms.domain.ChannelDO;
import com.bootdo.system.domain.MenuDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 菜单管理
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-03 09:45:09
 */
@Mapper
public interface ChannelDao {

	ChannelDO get(Long channelId);

	List<ChannelDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(ChannelDO channel);
	
	int update(ChannelDO channel);
	
	int remove(Long channelId);
	
	int batchRemove(Long[] channelIds);

	List<ChannelDO> listChannel();
}
